<ion-view view-title="消息">
  <ion-nav-buttons side="left">
    <a class="button button-icon icon ion-ios-arrow-left" ng-click="goBackPage()"></a>
  </ion-nav-buttons>
  <ion-content padding="false" class="messageList">
    <ion-list class="cc_question">
      <ion-item ng-repeat="message in messagelist" ng-click="openMessage($index)" class="item item-avatar item-icon-right ">
        <img src="img/admin.jpg" alt="">
        <!-- 0 系统消息 1 个人消息 9 API接口调用错误消息 -->
        <h2 ng-if="message.bigType==0">系统消息</h2>
        <h2 ng-if="message.bigType==1">个人消息</h2>
        <h2 ng-if="message.bigType==9">API接口调用错误消息</h2>
        <p ng-bind="message.content"></p>
        <b class="mesglist_tip"  ng-if="message.state==0" style=""></b>
        <ion-option-button class="button-assertive" ng-click="removeMessage($index)">
          删除
        </ion-option-button>
      </ion-item>
    </ion-list>
  </ion-content>
</ion-view>
